<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="icSaleList" title="销售开票月报表" actionUrl="saleMinidaoController.do?datagrid4"  idField="id"  fit="true" queryMode="group" autoLoadData="false" pagination="false">
   <t:dgCol title="编号" field="id" hidden="false" ></t:dgCol>
   <t:dgCol title="日期" field="FDate" hidden="false"  formatter="yyyy-MM-dd"  isDate="true" query="true" queryMode="group"></t:dgCol>
   <t:dgCol title="物料名称" field="FItemName" hidden="false" dictionary="GZ" query="true"></t:dgCol>
   <t:dgCol title="客户名称" field="FName" query="true"></t:dgCol>
   <t:dgCol title="上期发货未开票数(吨)" field="Qty1" ></t:dgCol>
   <t:dgCol title="本月发货数量(吨)" field="Qty2" ></t:dgCol>
   <t:dgCol title="本月财务开票数(吨)(实际开票数)" field="Qty3" ></t:dgCol>
   <t:dgCol title="月末结存发货未开票数(吨)" field="Qty4" ></t:dgCol>
	<t:dgToolBar title="导出"  icon="icon-print"    onclick="export2()"   operationCode="export"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>


<script type="text/javascript" charset="utf-8">
	/*
	 *	excel导出
	 */
	function export2() {
		export1("saleMinidaoController.do?export_xskp","icSaleList");
	}
	
	$("#icSaleList_FName").css('width','150px');
</script>

